package com.tarena.lbs.business.enums;

import com.tarena.lbs.base.protocol.enums.ErrorCodeSupport;
import lombok.Getter;

@Getter
public enum BusinessResultEnum implements ErrorCodeSupport {
    BUSINESS_NOT_EXISTS("-2", "商家不存在"),
    BUSINESS_EXISTS("-5", "商家已存在"),
    AUTH_NOT_EXISTS("-3", "用户权限不足"),
    USER_NOT_LOGIN("-4", "用户未登录"),
    CONFINE_TO_NO_BUSINESS("-6", "该范围内没有商家"),
    BINDING_FAILURE("-7","绑定失败"),
    STORE_CHAIN_NOT_EXIST("-8", "没有店铺"),
    STORE_CHAIN_ADD_ERROR("-9", "商铺链接增加成功");

    BusinessResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private String code;

    private String message;
}
